package org.javaboy.vhr.mapper;

import org.javaboy.vhr.model.Train;

import java.util.List;

public interface TrainMapper {
    int addTrain(Train train);

    int changeStatus(Train train);

    List<Train> getAllTrain();

    List<Train> getTrain_0( Integer page, Integer size, Integer status_id_1,Integer status_id_2);


    long getTotal(Integer status_id_1, Integer status_id_2);
}
